package com.dyypdadmin.result;

import lombok.Data;

@Data
public class Result {
    private Boolean status;
    private Object data;
    private String message;
    private String token;

    public Result() {
    }

    public Result(Boolean status, String message) {
        this.status = status;
        this.message = message;
    }

    public Result(Boolean status, Object data) {
        this.status = status;
        this.data = data;
    }

    public Result(Boolean status, Object data, String message) {
        this.status = status;
        this.data = data;
        this.message = message;
    }
    public Result(Boolean status, Object data, String message,String token) {
        this.status = status;
        this.data = data;
        this.message = message;
        this.token = token;
    }
}
